package com.koicarp.university.graduate.auth.properties;

import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @auther liutao
 * @Date 2020-08-17 16:52:26
 */
@Data
@SpringBootConfiguration
@PropertySource(value = {"classpath:university-auth.properties"})
@ConfigurationProperties(prefix = "university.auth")
public class UniversityAuthProperties {
    private UniversityClientsProperties[] clients={};
    private int accessTokenValiditySeconds=60*60*24;
    private int refreshTokenValiditySeconds=60 * 60 * 24 * 7;
}
